let status = {
  modalView: {
    isShow: false,
    isModify: false,
    title:"新增文档",
    isLoading: true,
  },
  modalDirectory: {
    isShow: false,
    isModify: false,
    title:"新增目录",
    isLoading: true,
  },
  modalModifySEO:{
    isShow: false,
  },
  rules: {
      title: [
        {required: true, message: '标题不能为空', trigger: 'blur'}
      ],
      content: [
        {required: true, message: '内容不能为空', trigger: 'blur'}
      ],
    linkName: [
      {required: true, message: '固定网址不能为空', trigger: 'blur'}
    ],
    directoryId:[
      {required: true, message: '目录不能为空', trigger: 'blur'}
    ]
  },
  directoryUrls: {
    name: [
      {required: true, message: '目录名称不能为空', trigger: 'blur'}
    ]
  }

};

// 页面的数据源
let data = {
  //编辑详情的色卡
  blogList: [{blogList:[],directoryId:'',directoryName:''}],
  directoryList:[]

};

let params = {
  blog: {
    id:'',
    title:'',
    subtitle:'',
    content:'',
    linkUrl:'',
    linkName:'',
    sequence:0,
    state:0,
    directoryId:''
  },
  directory:{
    name:'',
    sequence:0,
    state:0
  },
  pageMetaInfos:[]
};

export  default  {
  tStatus: status,
  tParam: params,
  tData: data
};

